x86emul: fold SrcImmByte fetching
authorJan Beulich <jbeulich@suse.com>
Mon, 15 Aug 2016 10:21:24 +0000 (12:21 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 15 Aug 2016 10:21:24 +0000 (12:21 +0200)
commitd9a40cea32faf6cf696f42537e95a4759a2924d0
tree87e0f0b94c066f9951dddb214df6d90bfd4abe6c
parent01fe4da6243be692b972de4ec7b22ec92527c0f5
x86emul: fold SrcImmByte fetching

There's no need for having identical code spelled out twice.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/x86_emulate/x86_emulate.c